import os

import data_get

from data_save import data_save


# 保存视频


def main():
    url = ("https://v3-web.douyinvod.com/e425c31027d313e2edc705a1244295cc/675300bc/video/tos/cn/tos-cn-ve-15/oYL0QIruZmCx8RQuj44AwdFqP4ZoiPAIBG9iE/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=340&bt=340&cs=0&ds=6&ft=t2zLrtjjM9RwxuZqoZmCE1RSYjzECMDtGnYjQeAq8_45a&mime_type=video_mp4&qs=12&rc=NzQ6NzRoOjdpZjVlOmg8Z0BpMzU0dnc5cnJsdzMzNGkzM0AyNDA2MjNiXi4xNWIxYTMwYSNnL2NgMmQ0ZTRgLS1kLTBzcw%3D%3D&btag=c0000e00008000&cquery=100w_100B_100x_100z_100o&dy_q=1733482115&feature_id=46a7bb47b4fd1280f3d3825bf2b29388&l=202412061848351F6C3067C1AB670E4EBE")
    content = data_get.get_content_no_headers(url)
    data_save.save_content("video_tqjb.mp4", content)


if __name__ == '__main__':
    main()
